//
//  WSBJingXuanModel.m
//  NuoMi
//
//  Created by ios on 16/1/15.
//  Copyright © 2016年 iOSwusanbao. All rights reserved.
//

#import "WSBJingXuanModel.h"

@implementation WSBJingXuanModel

+(NSDictionary *)JSONKeyPathsByPropertyKey {
    return @{
             @"total":@"total",
             @"period":@"period",
             @"prepare_period":@"prepare_period",
             @"list":@"list"
             };
}

+(NSValueTransformer *)listJSONTransformer {
    return [MTLJSONAdapter arrayTransformerWithModelClass:[WSBJingXuanListModel class]];
    
}

@end



@implementation WSBJingXuanListModel

+(NSDictionary *)JSONKeyPathsByPropertyKey{
    return @{
             @"brand":@"brand",
             @"current_price":@"current_price",
             @"deal_id":@"deal_id",
             @"image":@"image",
             @"medium_title":@"medium_title",
             
             @"distance":@"distance",
             //             @"ugc_score":@"ugc_score",
             @"store_num":@"store_num"
             };
}

@end
